package cn.iocoder.yudao.module.bpm.framework.flowable.core.enums;

import cn.hutool.core.util.ArrayUtil;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * BPM 任务的候选人策略枚举
 *
 * 例如说：分配给指定人审批
 *
 * @author 芋道源码
 */
@Getter
@AllArgsConstructor
public enum MagicApiConfigProcessInstanceEventEnum {

    CREATED("created", "流程创建"),
    STARTED("started", "流程开始"),
    COMPLETED("completed", "流程完成"),
    CANCELLED("cancelled", "流程取消"),
    REJECTED("rejected", "流程驳回"),
    ;

    /**
     * 类型
     */
    private final String event;
    /**
     * 描述
     */
    private final String description;

}
